﻿#region Copyright information
// 
// Copyright © 2005-2013 Yongkee Cho. All rights reserved.
// 
// This code is a part of the Biological Object Library and governed under the terms of the
// GNU Lesser General  Public License (LGPL) version 2.1 which accompanies this distribution.
// For more information on the LGPL, please visit http://bol.codeplex.com/license.
// 
// - Filename: LonePair.cs
// - Author: Yongkee Cho
// - Email: yongkeecho@gmail.com
// - Date Created: 2012-11-13 3:17 PM
// - Last Modified: 2013-01-25 3:59 PM
// 
#endregion
using System;

namespace BOL.Models.Structure
{
	public sealed class LonePair : IElectronContainer
    {
        #region Public properties

	    public IAtom Atom { get; private set; }
		public int NumberOfValenceElectrons { get { return 2; } }

        #endregion

        public LonePair(IAtom atom)
		{
			Atom = atom;
		}

		public override string ToString()
		{
			return String.Format("{0}:LP", Atom.ToString());
		}
	}
}
